package ca.llsutherland.nfl.validator;

import ca.llsutherland.nfl.domain.Team;

public class TeamValidator extends DomainObjectValidator {

	public static void validate(Team expected, Team actual) {
		DivisionValidator.validate(expected.getDivision(), actual.getDivision());
		assertEquals("should be same city", expected.getCity(), actual.getCity());
		assertEquals("should be same nickname", expected.getNickname(), actual.getNickname());
		assertEquals("should be same short city", expected.getShortCity(), actual.getShortCity());
		assertEquals("should be same short nickname", expected.getShortNickname(), actual.getShortNickname());
	}

}
